Package com.cisco.pt.ipc.sim.impl
Class VLANImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.VLANImpl
Information provided by the PKI file:
\class Vlan
\brief Vlan handles and manipulates the individual VLAN.
\example network().getDevice("Switch0").getProcess("VlanManager").getVlanAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionVLANImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:getName()Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
VLANImpl
public VLANImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getName
Information provided by the PKI file:
\brief Returns the name of this VLAN. \return string, the name of this VLAN. -
getMacTable
Information provided by the PKI file:
\brief Returns the MAC address table. \return MacTable, the MacTable object.- Specified by:
getMacTablein interfaceVLAN- Returns:
- MACTable Returns a MACTable
-
isDefault
public boolean isDefault()Information provided by the PKI file:
\brief Returns true if this is the default VLAN, otherwise false. \return bool, true if this is the default VLAN, otherwise false. -
getVlanNumber
public int getVlanNumber()Information provided by the PKI file:
\brief Returns the VLAN number of this VLAN. \return int, the VLAN number of this VLAN.- Specified by:
getVlanNumberin interfaceVLAN- Returns:
- int Returns a int
-